package cn.bdqn.service;

import cn.bdqn.pojo.Integral;
import org.apache.ibatis.annotations.*;

import java.util.List;

public interface IntegralService {
    List<Integral> listAll();

    int del(Integer id);

    int insert(Integral integral);
    //@Param("name")String name,@Param("schoolName")String schoolName,@Param("className") String className,@Param("address")String address

    Integral listAllByid( Integer id);

    Integer upd(Integral integral);
    //查询到用户的签到时间
    List<Integral> getIntegrall(Integer staffid,String text);
}
